package com.dsbj.mp.icardservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("H_A_RESTQUOTA")
public class Restquota {

	@TableId(value = "id", type = IdType.UUID)
	private String id;

    private String companyno; // 组织代码

    private String restclassno;//假别编号
    
    private String restclassnoa;//假别编号

    private String employeeno;//工号
    
    private String employeenoa;//工号

    private Integer year; // 年度

    private Float yearhours;//可以请假额度

    private String startday;//可以开始请假日期yyyymmdd

    private Float sumhours;//已经请假额度
     
    private Float  adjusthours ;//调休额度
    
    private String remark; //备注
    
    private Float preyearhours;//上年额度PREYEARHOURS

    private Integer status; // 状态（0:停用，1:启用）

    private String createTime; // 创建时间

    private String createUser; // 创建人

    private String updateTime; // 修改时间

    private String updateUser; // 修改人
    //自定义
	@TableField(exist = false)
    private Restclass restclass; //假别设置表

	@TableField(exist = false)
    private String[]  idss;

	@TableField(exist = false)
    private String restclassname;

	@TableField(exist = false)
    private String employeename;

	@TableField(exist = false)
    private String amount;   // 自定义，剩余额度

	@TableField(exist = false)
    private Integer billstatus;

	@TableField(exist = false)
    private String companyname;

	@TableField(exist = false)
    private String inEmployeeno;

	@TableField(exist = false)
    private String status1;

	@TableField(exist = false)
    private String[] depts;

	@TableField(exist = false)
    private String userId;
    
}